<!DOCTYPE html>
<html lang="en">
<html xmlns="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1" width="500">
    <tr>
        <th>学号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>性别</th>
    </tr>
    <tr th:each="stu:${students}">
        <td th:text="${stu.sno}"></td>
        <td th:text="${stu.sname}"></td>
        <td th:text="${stu.sage}"></td>
        <td th:text="${stu.sgender}"></td>
    </tr>
</table>
</body>
</html>